/**
 * Package Name:cn.com.guodiantong.common.domain
 * Date:2017年8月14日 下午3:59:30
 * Copyright (c) 2017 mr.luoxing@gmail.com Rights Reserved.
 *
 */

package cn.com.guodiantong.common.api.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: LoggerModel.<br/>
 * @Description: TODO(日志实体类).<br/>
 *
 * @author Mr.Luoxing
 * @version 1.0.0
 */
public class LoggerModel implements Serializable{

	/**
	 * serialVersionUID:TODO.
	 */
	private static final long serialVersionUID = 8417460792801456170L;
	private String id; //主键
	private int type; //日志类型
	private String module; //操作模块
	private String uid; //操作人
	private String content; //操作内容
	private String param; //参数
	private String method; //方法
	private Date date; //记录时间
	private String url; //路径
	private String ip; //操作iP
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getModule() {
		return module;
	}
	public void setModule(String module) {
		this.module = module;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public LoggerModel(String id, int type, String module, String uid, String content, Date date, String url,
			String ip) {
		super();
		this.id = id;
		this.type = type;
		this.module = module;
		this.uid = uid;
		this.content = content;
		this.date = date;
		this.url = url;
		this.ip = ip;
	}
	public LoggerModel() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "LoggerModel [id=" + id + ", type=" + type + ", module=" + module + ", uid=" + uid + ", content="
				+ content + ", date=" + date + ", url=" + url + ", ip=" + ip + "]";
	}
	public String getParam() {
		return param;
	}
	public void setParam(String param) {
		this.param = param;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	
	
	
	
}

